bitkeeper revision 1.1313 (42641d28jw3IBtr_TG4yEG9VDljPEw)
authoriap10@freefall.cl.cam.ac.uk <iap10@freefall.cl.cam.ac.uk>
Mon, 18 Apr 2005 20:48:40 +0000 (20:48 +0000)
committeriap10@freefall.cl.cam.ac.uk <iap10@freefall.cl.cam.ac.uk>
Mon, 18 Apr 2005 20:48:40 +0000 (20:48 +0000)
commita383ed638d7a5e75ebf5d85749803b52ad3f940d
treeb513c52c8da8c520a94308dc52e637cbd383c085
parent7da5ec1a487f862781c45dd407107cf5bfad1d3a
bitkeeper revision 1.1313 (42641d28jw3IBtr_TG4yEG9VDljPEw)

With -D_FORTIFY_SOURCE=2 (which is used in the Fedora buildroot), gcc has certain defines for functions like read() to check that things are done right.

This trips up these function pointers, and gcc becomes unhappy.
Adding parens around the function prevents gcc from expanding read to the macro it is defined to internally, and makes things compile again.

Signed-off-by: Rik van Riel <riel@redhat.com>
tools/libxutil/iostream.h